package com.itshizhan.designpattern.abstract_factory.factory;

/**
 * 抽象零件
 * Item类是Link类和Tray类的父类
 * 方便统一处理Link类和Tray类
 */
public abstract class Item {
    protected String caption;

    public Item(String caption) {
        this.caption = caption;
    }

    public abstract String makeHTML();
}
